﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using ActionLogic;
using BehaviorModel;
using CommandLogic.Data;

namespace CommandLogic.Command
{
    public class UpdateStatisticCommand : IQsmCommand
    {
        public CommandData Execute(CommandData data)
        {
            if (ActionExecutor.GetInstance().ActionExecutorState != ActionExecutorState.Start) return null;
            
            StatisticController.GetInstance().Update();

            return null;
        }
    }
}
